<template>
	<view class="wf-box">
		<HeadNav titleName="节点设置" :navBarHeight="navBarHeight">
			<template v-slot:rightIcon>
				<image src="../../static/img/me-33.png" class="sys"></image>
			</template>
		</HeadNav>
		
		<view class="main" :style="{ paddingTop: navBarHeight }">
			<view class="main-ctr">
				<scroll-view scroll-y="true" class="scroll-Y" >
					<view class="scroll-view-item" v-for="item in 10" @click="selectCoin(item)">
						<image src="../../static/img/demo-03.png" class="coin-img"></image>
						
						<view class="coin-info">
							<view class="coin-name">KT</view>
							<view class="coin-address">American Dollar</view>
						</view>
						
						<view class="status">
							<image src="../../static/img/chat-20.png"></image>
						</view>
					</view>
				</scroll-view>
			</view>
		</view>
	</view>
</template>

<script>
	import HeadNav from "@/components/HeadNav"
	import navBarMixin from '@/mixin/navBarMixin.js'
	export default {
		data() {
			return {}
		},
		components: {
			HeadNav
		},
		mixins: [navBarMixin],
		methods: {
			selectCoin() {
				uni.navigateTo({
					url: '/pages/me/nodeDetails'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.wf-box {
		overflow: hidden;
		padding-bottom: 36rpx;
		
		.sys {
			width: 30rpx;
			height: 30rpx;
		}
	
		.main {
			padding: 0 30rpx;
			margin-top: 126rpx;
			.main-ctr {
				padding: 0 30rpx;
				height: 1074rpx;
				padding-bottom: 34rpx;
				border-radius: 10rpx;
				background: #fff;
				.scroll-Y {
					height: 100%;
					overflow: hidden;
					.scroll-view-item {
						height: 126rpx;
						display: flex;
						align-items: center;
						border-bottom: 2rpx solid #eee;
									
						.coin-img {
							width: 56rpx;
							height: 56rpx;
						}
						
						.coin-info {
							margin-left: 20rpx;
							.coin-name {
								text {
									color: #999;
								}
							}
							.coin-address {
								font-size: 22rpx;
								color: #999999;
							}
						}
									
						.status {
							margin-left: auto;
									
							image {
								width: 10rpx;
								height: 20rpx;
							}
						}
					}
				}
			}
		}
	}
</style>